<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>emmet写法</title>
</head>
<body>
  <div></div>
  <!-- .类名 -->
  <div class="box"></div>

  <!-- 标签名.类名 -->
  <p class="box"></p>

  <!-- div+p -->
  <div></div>
  <p></p>

  <!-- div>p -->
  <div>
    <p></p>
  </div>
</body>
</html>